///////////////////////////////////////////////////////////////////////
// File:        PrinterSink.h
// Description: 
// Author:      Philip Kommnick
// Created:     Thu September 17 12:26:39 CEST 2009
//
// This program is open source. For license terms, see the LICENSE file.
//
///////////////////////////////////////////////////////////////////////

#pragma once
#include "sink.h"

class PrinterSink : public Sink
{
public:
	PrinterSink(void);
	virtual ~PrinterSink(void);
	virtual void Output(Gdiplus::Bitmap &bmp);
private:
	bool SelectPrinter(void);
	HRESULT DisplayPrintPropertySheet(HWND hWnd);
	bool rememberPrinter;
	std::wstring lastPrinter;
};
